package com.kolon.business.mngr.banner.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 *	BannerDao interface
 *	@author Stone
 *	@since 2011.08.11
 */
@SuppressWarnings("rawtypes")
public interface BannerDao {

	/**
	 * 배너 정보 조회
	 */
	public Map getMap(Map map) throws SQLException;

	/**
	 * 배너 레코드수 조회
	 */
	public int getCount(Map map) throws SQLException;
	
	/**
	 * 배너 목록 조회
	 */
	public List getPageList(Map map, int startIndex, int endIndex) throws SQLException;

	/**
	 * 배너 시퀀스를 얻음
	 */
	public Map getMax() throws SQLException;
	
	/**
	 * 배너 등록
	 */
	public void insert(Map map) throws SQLException;

	/**
	 * 배너 수정
	 */
	public void update(Map map) throws SQLException;

	/**
	 * 배너 삭제
	 */
	public void delete(Map map) throws SQLException;
	
}
